package com.candy.pojo;

import java.io.Serializable;

public class StudentInfo implements Serializable {
    private static final long serialVersionUID = 735655488285535299L;
    private Integer id;

    private String stuname;

    private String stupwd;

    private String stuaddress;

    private String stutel;

    public StudentInfo(Integer id, String stuname, String stupwd, String stuaddress, String stutel) {
        this.id = id;
        this.stuname = stuname;
        this.stupwd = stupwd;
        this.stuaddress = stuaddress;
        this.stutel = stutel;
    }

    public StudentInfo() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStuname() {
        return stuname;
    }

    public void setStuname(String stuname) {
        this.stuname = stuname == null ? null : stuname.trim();
    }

    public String getStupwd() {
        return stupwd;
    }

    public void setStupwd(String stupwd) {
        this.stupwd = stupwd == null ? null : stupwd.trim();
    }

    public String getStuaddress() {
        return stuaddress;
    }

    public void setStuaddress(String stuaddress) {
        this.stuaddress = stuaddress == null ? null : stuaddress.trim();
    }

    public String getStutel() {
        return stutel;
    }

    public void setStutel(String stutel) {
        this.stutel = stutel == null ? null : stutel.trim();
    }

    @Override
    public String toString() {
        return "StudentInfo{" +
                "id=" + id +
                ", stuname='" + stuname + '\'' +
                ", stupwd='" + stupwd + '\'' +
                ", stuaddress='" + stuaddress + '\'' +
                ", stutel='" + stutel + '\'' +
                '}';
    }
}